<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="ScsgtbusurolViewDlg" widgetVar="ScsgtbusurolViewDialog" modal="true" resizable="false" appendToBody="true" header="#{myBundle.ViewScsgtbusurolTitle}">

            <h:form id="ScsgtbusurolViewForm">

                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{scsgtbusurolController.selected != null}">

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_scsgtbusurolid}"/>
                        <h:outputText value="#{scsgtbusurolController.selected.scsgtbusurolid}" title="#{myBundle.ViewScsgtbusurolTitle_scsgtbusurolid}"/>

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_habilitado}"/>
                        <h:selectBooleanCheckbox id="habilitado" value="#{scsgtbusurolController.selected.habilitado}" title="#{myBundle.EditScsgtbusurolTitle_habilitado}" required="true" requiredMessage="#{myBundle.EditScsgtbusurolRequiredMessage_habilitado}" disabled="true"/>

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_fechainicio}"/>
                        <h:outputText value="#{scsgtbusurolController.selected.fechainicio}" title="#{myBundle.ViewScsgtbusurolTitle_fechainicio}"/>

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_caducidad}"/>
                        <h:selectBooleanCheckbox id="caducidad" value="#{scsgtbusurolController.selected.caducidad}" title="#{myBundle.EditScsgtbusurolTitle_caducidad}" required="true" requiredMessage="#{myBundle.EditScsgtbusurolRequiredMessage_caducidad}" disabled="true"/>

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_fechafin}"/>
                        <h:outputText value="#{scsgtbusurolController.selected.fechafin}" title="#{myBundle.ViewScsgtbusurolTitle_fechafin}">
                            <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                        </h:outputText>

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_hinvestig}"/>
                        <h:outputText value="#{scsgtbusurolController.selected.hinvestig}" title="#{myBundle.ViewScsgtbusurolTitle_hinvestig}"/>

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_hacademicas}"/>
                        <h:outputText value="#{scsgtbusurolController.selected.hacademicas}" title="#{myBundle.ViewScsgtbusurolTitle_hacademicas}"/>

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_fecharegistro}"/>
                        <h:outputText value="#{scsgtbusurolController.selected.fecharegistro}" title="#{myBundle.ViewScsgtbusurolTitle_fecharegistro}">
                            <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                        </h:outputText>

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_observaciones}"/>
                        <h:outputText value="#{scsgtbusurolController.selected.observaciones}" title="#{myBundle.ViewScsgtbusurolTitle_observaciones}"/>

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_scthtbmodalidaid}"/>
                        <h:outputText value="#{scsgtbusurolController.selected.scthtbmodalidaid.scthtbmodalidaid}"/>

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_scthtbdatosgenid}"/>
                        <h:outputText value="#{scsgtbusurolController.selected.scthtbdatosgenid.scthtbdatosgenid}"/>

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_scsgtbrolesid}"/>
                        <h:outputText value="#{scsgtbusurolController.selected.scsgtbrolesid.scsgtbrolesid}"/>

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_scittbfadeceid}"/>
                        <h:outputText value="#{scsgtbusurolController.selected.scittbfadeceid.scittbfadeceid}"/>

                        <h:outputText value="#{myBundle.ViewScsgtbusurolLabel_scittbescunid}"/>
                        <h:outputText value="#{scsgtbusurolController.selected.scittbescunid.scittbescunid}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{myBundle.Close}" onclick="ScsgtbusurolViewDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
